package com.example.slidecaptcha2;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 基本配置
 *
 * @author yyf900524
 * @date 2019/08/21
 */
@Data
@Component
public class BasicConfig {

    @Value("${ims-sso.expireTime:5}")
    private String expireTime;

    @Value("${ims-sso.expireTimeForAPP:86400}")
    private String expireTimeForAPP;

    @Value("${ims-sso.overTime:10}")
    private Long overTime;

    @Value("${ims-sso.overTimeForAPP:43200000}")
    private Long overTimeForAPP;

    @Value("${ims-sso.imsOutUrl:1}")
    private String imsOutUrl;

    @Value("${ims-sso.status:1}")
    private String status;

    @Value("${ims-sso.statusText:1}")
    private String statusText;

    @Value("${ims-sso.data:1}")
    private String data;

    @Value("${ims-sso.svrCode:1}")
    private String svrCode;

    @Value("${ims-sso.loginMethod:1}")
    private String loginMethod;

    @Value("${ims-sso.intervalTime:1}")
    private Integer intervalTime;

    @Value("${ims-sso.seconds:1}")
    private Integer seconds;

    @Value("${rz-center.rzBaseUrl:g}")
    private String rzBaseUrl;

    @Value("${cas-4a.baseUrl:g}")
    private String cas4ABaseUrl;

    @Value("${cloud-4a.baseUrl:g}")
    private String cloud4ABaseUrl;

    @Value("${task-flag.removeOfflineUsersFlag:true}")
    private boolean removeOfflineUsersFlag;

    @Value("${pcFace.faceLike:1}")
    private Integer faceLike;

    @Value("${imgVerifyCode.produceImages:true}")
    private boolean produceImages;

    @Value("${imgVerifyCode.imageCount:200}")
    private int imageCount;

    @Value("${dx.loginCheckUrl:1}")
    private String dxLoginCheckUrl;

    @Value("${dx.svrCode:DXYX}")
    private String dxSvrCode;
}
